package com.ohs.service;

import com.ohs.pojo.Address;
import com.ohs.utils.ResponseResult;

import javax.servlet.http.HttpSession;

public interface AddressService {
    ResponseResult saveAddress(Address address, HttpSession session);

    ResponseResult updateAddress(Address address, HttpSession session);

    ResponseResult deleteAddress(Integer addId, HttpSession session);

    ResponseResult findAllAddressInfo();

    ResponseResult setDefault(Integer addId, HttpSession session);

    Address findAddressOne(Integer addId);
}
